Optimal. Leaf size=409 \[ \frac {2 (c-d) \sqrt {c+d} E\left (\sin ^{-1}\left (\frac {\sqrt {a+b} \sqrt {c+d \sin (e+f x)}}{\sqrt {c+d} \sqrt {a+b \sin (e+f x)}}\right )|\frac {(a-b) (c+d)}{(a+b) (c-d)}\right ) \sec (e+f x) \sqrt {-\frac {(b c-a d) (1-\sin (e+f x))}{(c+d) (a+b \sin (e+f x))}} \sqrt {\frac {(b c-a d) (1+\sin (e+f x))}{(c-d) (a+b \sin (e+f x))}} (a+b \sin (e+f x))}{(a-b) \sqrt {a+b} (b c-a d) f}+\frac {2 \sqrt {a+b} (c-d) F\left (\sin ^{-1}\left (\frac {\sqrt {c+d} \sqrt {a+b \sin (e+f x)}}{\sqrt {a+b} \sqrt {c+d \sin (e+f x)}}\right )|\frac {(a+b) (c-d)}{(a-b) (c+d)}\right ) \sec (e+f x) \sqrt {\frac {(b c-a d) (1-\sin (e+f x))}{(a+b) (c+d \sin (e+f x))}} \sqrt {-\frac {(b c-a d) (1+\sin (e+f x))}{(a-b) (c+d \sin (e+f x))}} (c+d \sin (e+f x))}{(a-b) \sqrt {c+d} (b c-a d) f} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.29, antiderivative size = 409, normalized size of antiderivative = 1.00, number of steps
used = 3, number of rules used = 3, integrand size = 29, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.103, Rules used = {2874, 2897,
3075} \begin {gather*} \frac {2 \sqrt {a+b} (c-d) \sec (e+f x) (c+d \sin (e+f x)) \sqrt {\frac {(b c-a d) (1-\sin (e+f x))}{(a+b) (c+d \sin (e+f x))}} \sqrt {-\frac {(b c-a d) (\sin (e+f x)+1)}{(a-b) (c+d \sin (e+f x))}} F\left (\text {ArcSin}\left (\frac {\sqrt {c+d} \sqrt {a+b \sin (e+f x)}}{\sqrt {a+b} \sqrt {c+d \sin (e+f x)}}\right )|\frac {(a+b) (c-d)}{(a-b) (c+d)}\right )}{f (a-b) \sqrt {c+d} (b c-a d)}+\frac {2 (c-d) \sqrt {c+d} \sec (e+f x) (a+b \sin (e+f x)) \sqrt {-\frac {(b c-a d) (1-\sin (e+f x))}{(c+d) (a+b \sin (e+f x))}} \sqrt {\frac {(b c-a d) (\sin (e+f x)+1)}{(c-d) (a+b \sin (e+f x))}} E\left (\text {ArcSin}\left (\frac {\sqrt {a+b} \sqrt {c+d \sin (e+f x)}}{\sqrt {c+d} \sqrt {a+b \sin (e+f x)}}\right )|\frac {(a-b) (c+d)}{(a+b) (c-d)}\right )}{f (a-b) \sqrt {a+b} (b c-a d)} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 2874
Rule 2897
Rule 3075
Rubi steps
\begin {align*} \int \frac {\sqrt {c+d \sin (e+f x)}}{(a+b \sin (e+f x))^{3/2}} \, dx &=\frac {(c-d) \int \frac {1}{\sqrt {a+b \sin (e+f x)} \sqrt {c+d \sin (e+f x)}} \, dx}{a-b}-\frac {(b c-a d) \int \frac {1+\sin (e+f x)}{(a+b \sin (e+f x))^{3/2} \sqrt {c+d \sin (e+f x)}} \, dx}{a-b}\\ &=\frac {2 (c-d) \sqrt {c+d} E\left (\sin ^{-1}\left (\frac {\sqrt {a+b} \sqrt {c+d \sin (e+f x)}}{\sqrt {c+d} \sqrt {a+b \sin (e+f x)}}\right )|\frac {(a-b) (c+d)}{(a+b) (c-d)}\right ) \sec (e+f x) \sqrt {-\frac {(b c-a d) (1-\sin (e+f x))}{(c+d) (a+b \sin (e+f x))}} \sqrt {\frac {(b c-a d) (1+\sin (e+f x))}{(c-d) (a+b \sin (e+f x))}} (a+b \sin (e+f x))}{(a-b) \sqrt {a+b} (b c-a d) f}+\frac {2 \sqrt {a+b} (c-d) F\left (\sin ^{-1}\left (\frac {\sqrt {c+d} \sqrt {a+b \sin (e+f x)}}{\sqrt {a+b} \sqrt {c+d \sin (e+f x)}}\right )|\frac {(a+b) (c-d)}{(a-b) (c+d)}\right ) \sec (e+f x) \sqrt {\frac {(b c-a d) (1-\sin (e+f x))}{(a+b) (c+d \sin (e+f x))}} \sqrt {-\frac {(b c-a d) (1+\sin (e+f x))}{(a-b) (c+d \sin (e+f x))}} (c+d \sin (e+f x))}{(a-b) \sqrt {c+d} (b c-a d) f}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 3.35, size = 226, normalized size = 0.55 \begin {gather*} -\frac {2 \sqrt {2} \cos \left (\frac {1}{4} (2 e-\pi +2 f x)\right ) E\left (\sin ^{-1}\left (\frac {\sqrt {\frac {a-b}{a+b}} \cos \left (\frac {1}{4} (2 e+\pi +2 f x)\right )}{\sqrt {\frac {a+b \sin (e+f x)}{a+b}}}\right )|\frac {2 (-b c+a d)}{(a-b) (c+d)}\right ) \sqrt {\frac {a+b \sin (e+f x)}{a+b}} \sqrt {c+d \sin (e+f x)}}{\sqrt {\frac {a-b}{a+b}} f \sqrt {\frac {(a+b) (1+\sin (e+f x))}{a+b \sin (e+f x)}} (a+b \sin (e+f x))^{3/2} \sqrt {\frac {(a+b) (c+d \sin (e+f x))}{(c+d) (a+b \sin (e+f x))}}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [B] Leaf count of result is larger than twice the leaf count of optimal. \(46827\) vs.
\(2(379)=758\).
time = 12.50, size = 46828, normalized size = 114.49
method | result | size |
default | \(\text {Expression too large to display}\) | \(46828\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {\sqrt {c + d \sin {\left (e + f x \right )}}}{\left (a + b \sin {\left (e + f x \right )}\right )^{\frac {3}{2}}}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.00 \begin {gather*} \int \frac {\sqrt {c+d\,\sin \left (e+f\,x\right )}}{{\left (a+b\,\sin \left (e+f\,x\right )\right )}^{3/2}} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________